package cn.linstudy.ware.service;

import cn.linstudy.ware.vo.MergePurchaseOrderVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.linstudy.common.utils.PageUtils;
import cn.linstudy.ware.entity.PurchaseEntity;

import java.util.Map;

/**
 * 采购信息
 *
 * @author XiaoLin
 * @email ljp2020vip@163.com
 * @date 2023-01-05 19:15:05
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询出未被领取的采购单
     * @param params
     * @return
     */
    PageUtils queryPageUnclaimed(Map<String, Object> params);

    /**
     * 合并采购单
     * @param mergePurchaseOrderVo
     * @return
     */
    void mergePurchaseOrder(MergePurchaseOrderVo mergePurchaseOrderVo);

}

